package com.ftg.learn.day09.pattern.prototype;

/**
 * @author 布衣
 */
public class Lion implements Cloneable{

    private String name;

    public Lion(String name){
        this.name = name;
    }

    public void info(){
        System.out.println(name);
    }

    /**
     * 克隆
     *
     * @return
     */
    @Override
    public Object clone() throws CloneNotSupportedException {
        return super.clone();
    }



}
